package org.chinarjy.api;

import org.chinarjy.dto.ResultApi;
import org.chinarjy.entity.Person;

import java.util.List;

public interface MyApi {
    public ResultApi<List<Person>> getAllPersons();

    public ResultApi<Person> addPerson(Person person);

    public ResultApi<Person> removePerson(Person person);

    public ResultApi<Person> updatePerson(Person person);
}
